package com.mo.system.role.service.impl;

import com.mo.system.role.dao.IRoleDao;
import com.mo.global.model.system.Role;

import com.mo.system.role.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther:Lang
 * @Date:2022-12-05
 * @Time:10:10
 * @Description:TODO
 */
@Service
public class RoleServiceImpl implements IRoleService {
    @Autowired
    private IRoleDao roleDao;

    @Override
    public List<Role> queryAll() {
        return roleDao.queryAll();
    }
}
